package library.persistence.dao;

import library.domain.Message;

import java.util.List;

public interface MessageDao {
    void insertMessage(Message message);

    List<Message> getAllMessage();

    void deleteMessageByTime(String time);
}


